﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ScoreManage.Login" %>

<!DOCTYPE html>


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .auto-style1 {
            height: 50px;
            width: 98px;
        }
        .auto-style2 {
            width: 98px;
        }
    </style>
</head>

<body >
    <form id="form1" runat="server">
    <div>
        .<table style="width:500px" align="center" border="0">
        <tr>
          <td class="auto-style1">&nbsp;</td>
          <td style="width: 200px; font-size: x-large; font-weight: bold; text-align: center;">登&emsp;录</td>
          <td style="width: 200px"></td>

        </tr>
        <tr>
          <td class="auto-style2">账&emsp;&emsp;号：</td>
          <td><asp:TextBox ID="txtID" runat="server" Width="194px"></asp:TextBox></td>
          <td>
            <span style="color: red;">*</span>
            <asp:RequiredFieldValidator ID="IDRequiredFieldValidator" runat="server" ControlToValidate="txtID" ErrorMessage="请输入账号！" ForeColor="Red"></asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr>
          <td class="auto-style2">密&emsp;&emsp;码：</td>
          <td><asp:TextBox ID="txtPassword" TextMode="Password" runat="server" Width="192px"></asp:TextBox></td>
          <td>
            <span style="color: red;">*</span>
            <asp:RequiredFieldValidator ID="PasswordRequiredFieldValidator" runat="server" ControlToValidate="txtPassword" ErrorMessage="请输入密码！" ForeColor="Red"></asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr>
          <td class="auto-style2">验&ensp;证&ensp;码：</td>
          <td><asp:TextBox ID="txtValidateCode" runat="server" Width="192px"></asp:TextBox></td>
          <td>
            <span style="color: red;">*</span>
            <img id="imgcode" src="ImageCode.aspx" alt="看不清，请点击我！" onclick="this.src=this.src+'?'" />
            <asp:RequiredFieldValidator ID="ValidateCodeRequiredFieldValidator" runat="server" ControlToValidate="txtValidateCode" ErrorMessage="请输入验证码！" ForeColor="Red"></asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr>
            <td class="auto-style2">类&emsp;&emsp;型：</td>
            <td>
              <asp:RadioButtonList ID="rblType" runat="server" RepeatDirection="Horizontal">
                <asp:ListItem>学生</asp:ListItem>
                <asp:ListItem>教师</asp:ListItem>
                <asp:ListItem>用户</asp:ListItem>
              </asp:RadioButtonList>
            </td>
            <td>
            <span style="color: red;">*</span>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="rblType" ErrorMessage="请选择类型！" ForeColor="Red"></asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr>
          <td class="auto-style2"></td>
          <td>&emsp;&emsp;
            <asp:Button ID="btnOK" runat="server" Text="登录" onclick="btnOK_Click" />&emsp;&emsp;
            <asp:Button ID="btnReset" runat="server" Text="重置" onclick="btnReset_Click" CausesValidation="false" />
          </td>
          <td></td>
        </tr>
      </table>
    </div>
    </form>
</body>
</html>
